<!DOCTYPE html>
<html lang="zh-cn">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="../semantic/dist/semantic.min.css">
    <title>semantic-ui-dimmer</title>
    <style>

    </style>
</head>

<body>
    <div class="ui header dividing">Dimmer</div>
    <div class="ui container">
        <div class="ui first blurring piled segment">
            <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Omnis debitis, laborum fugit ex aliquid, repellendus ipsam quos excepturi in magni maxime iusto. Voluptate ducimus, molestias accusantium doloribus ut vero vel.</p>
            <div class="ui dimmer">
                <div class="ui loading">
                    <div class="ui loader"></div>
                </div>
            </div>
        </div>

        <div class="ui second blurring piled segment">
            <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Omnis debitis, laborum fugit ex aliquid, repellendus ipsam quos excepturi in magni maxime iusto. Voluptate ducimus, molestias accusantium doloribus ut vero vel.</p>
            <div class="ui dimmer">
                <div class="content">
                    <div class="ui inverted icon header">
                        <i class="red heart icon"></i> 喜欢
                    </div>
                </div>
            </div>
        </div>

        <div class="ui third piled segment">
            <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Omnis debitis, laborum fugit ex aliquid, repellendus ipsam quos excepturi in magni maxime iusto. Voluptate ducimus, molestias accusantium doloribus ut vero vel.</p>
            <div class="ui inverted dimmer">
                <div class="content">
                    <div class="ui red inverted icon header">
                        <i class="red heart icon"></i> 喜欢
                    </div>
                </div>
            </div>
        </div>

    </div>

    <script src="../../node_modules/jquery/dist/jquery.min.js"></script>
    <script src="../../semantic/dist/semantic.min.js"></script>
    <script>
        $('.ui.segment').dimmer({
            on: 'hover',
            transition: 'vertical flip'
        });
    </script>
</body>

</html>
